/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.blog.model;

import java.util.List;

/**
 *
 * @author Deny Prasetyo
 */
public class Article {

    private int id;
    private String title;
    private String content;
    private Author author;
    private List<Comment> comments;

    public List<Comment> getComments() {
        return comments;
    }

    public void setComments(List<Comment> comments) {
        this.comments = comments;
    }


    public Author getAuthor() {
        return author;
    }

    public void setAuthor(Author author) {
        this.author = author;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

}
